"""
fdfs file data

{
    'Group name': b'group1',
    'Remote file_id': b'group1/M00/00/00/wKjCnl7xcX2AMuABAAA6-XV4BMg943.jpg',
    'Status': 'Upload successed.',
    'Local file name': './by.jpg',
    'Uploaded size': '14.74KB',
    'Storage IP': b'192.168.194.158'
}
"""

from django.db import models

class FileManager(models.Model):
    file_name = models.CharField(max_length = 128)
    remote_name = models.CharField(max_length = 128)
    upload_size = models.CharField(max_length = 32)
    file_type = models.CharField(max_length = 32)
    upload_time = models.DateTimeField()
    change_time = models.DateTimeField()
    group_name = models.CharField(max_length = 32)
    storage_ip = models.CharField(max_length = 64)


# Create your models here.
